package com.fan.teamer.model.dao;

import java.util.List;

import com.fan.teamer.model.domain.Attendance;
import com.fan.teamer.model.domain.Event;
import com.fan.teamer.model.domain.Member;

public interface AttendanceDao {
	public Attendance getAttendance(int id);

	public List<Attendance> getAllAttendances();

	public int getSize();

	public void addAttendance(Attendance attendance);

	public void updateStock(Attendance attendance);

	public void deleteAttendance(Attendance attendance);

	public boolean hasAttendance(int id);

	public List<String> getColumnNames();

	public List<Attendance> getMemberAttendance(Member member);

	public List<Attendance> getAttendancesByEvent(Event event);
	
	public Attendance getAttendance(Event event, Member member);
}
